package com.hc.api.enums;

/**
 * Created by yx on 2017/4/12.
 */
public enum UserDegreeEnum {

    USER(1, "普通用户"),
    MANAGER_USER(2, "管理员"),
    HOSPITAL_USER(3, "医院用户");

    private int code;
    private String degree;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDegree() {
        return degree;
    }

    public void setDegree(String degree) {
        this.degree = degree;
    }

    private UserDegreeEnum(int code, String degree) {
        this.code = code;
        this.degree = degree;
    }
}
